//银行卡
class CardEntity {
  String account; //
  String merchant_id; //
  String id;
  String bank_id;
  String icon;
  String is_beneficiary;
  String bank_name;
  String truename;
  String clicknum; //浏览数
  CardEntity(
      {this.account,
      this.merchant_id,
      this.truename,
      this.bank_id,
      this.id,
      this.icon,
      this.is_beneficiary,
      this.clicknum,
      this.bank_name});
  CardEntity.fromJson(Map<String, dynamic> json) {
    account = json['account'];
    merchant_id = json['merchant_id'];
    id = json['id'].toString();
    bank_id = json['bank_id'].toString();
    truename = json['truename'];
    clicknum = json['clicknum'];
    bank_name = json['bank_name'];
    icon = json['icon'];
    is_beneficiary = json['is_beneficiary'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['account'] = this.account;
    data['merchant_id'] = this.merchant_id;
    data['is_beneficiary'] = this.is_beneficiary;
    data['icon'] = this.icon;
    data['id'] = this.id;
    data['bank_id'] = this.bank_id;
    data['bank_name'] = this.bank_name;
    data['truename'] = this.truename;
    data['clicknum'] = this.clicknum;
    return data;
  }
}
